//
//  RWAddressTableViewCell.h
//  RedWine
//
//  Created by Liufangfang on 2017/1/14.
//  Copyright © 2017年 HuiBangKe. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol RWAddressTableViewCellDelegate <NSObject>

- (void)deleteOrder:(UIButton *)btn;
- (void)defaultAddress:(UIButton *)btn atIndex:(NSInteger)index;
- (void)editAddress:(UIButton *)btn atIndex:(NSInteger)index;
- (void)deleteAddress:(UIButton *)btn atIndex:(NSInteger)index;

@end

@interface RWAddressTableViewCell : UITableViewCell

@property (nonatomic, strong) UILabel *receivePersonLab;
@property (nonatomic, strong) UILabel *addrLab;
@property (nonatomic, strong) UIButton *defaultBtn;


@property (nonatomic, strong) id<RWAddressTableViewCellDelegate> delegate;

- (void)loadDataWithModel:(id)model;

@end
